//
// Created by 吴喆 on 2020/3/5.
//

#ifndef SUMMER_DEMOGAME_H
#define SUMMER_DEMOGAME_H

#import "../engine/Game.h"
#import "../engine/Scene.h"
#include "../engine/ResourceManager.h"
#include "../engine/Scene.h"
#include "DemoScene.h"
#import "SpriteRender.h"

using namespace summer;

class DemoGame : public summer::Game {
public:

    static Game *getInstance() {
        return game;
    }

    void init() override;

    void update() override;

    void render() override;

private:
    DemoGame();

    static Game *game;

    void renderScene();


};


#endif //SUMMER_GAME_H
